/**
 * Created by YongX on 2017/6/30.
 */
import Vue from 'vue';
import Vuex from 'vuex';

Vue.use(Vuex);

const state = {
	user: {}
};

const mutations = {
	setUser (user) {
		state.user = user;
	}
};

export default new Vuex.Store({
	state,
	mutations
});
